package game;

import game.entity.Entity;

public class CollisionRect {
	private Entity entity;
	private float width, height;

	public CollisionRect(Entity entity, float width, float height) {
		this.entity = entity;
		this.width = width;
		this.height = height;
	}

	public float getX() {
		return entity.getxPos();
	}

	public float getY() {
		return entity.getyPos();
	}

	public float getWidth() {
		return width;
	}

	public void setWidth(float width) {
		this.width = width;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

}
